package com.yuyou.train.admin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.yuyou.train.service.api.admin.entity.CommDataConfig;



@Mapper
public interface CommDataConfigMapper {
    int deleteByPrimaryKey(String id);

    int insert(CommDataConfig record);

    int insertSelective(CommDataConfig record);

    CommDataConfig selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(CommDataConfig record);

    int updateByPrimaryKey(CommDataConfig record);
    
    List<CommDataConfig> findUseByCategory(String category);
    
    CommDataConfig selectUseByCode(String code);
}